<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .div1 {
            width: 450px;
            height: 50px;
        }
        .card {
            width: 80px;
            height: 50px;
            display: inline-block;
            background-color: #ff0000;
            text-align: center;
            color: aliceblue;
            line-height: 60px;
        }
        .card:hover {
            background-color: #ffa500;
        }
    </style>
</head>
<body>
    <div class="div1">
        <span class="card">导航1</span>
        <span class="card">导航2</span>
        <span class="card">导航3</span>
        <span class="card">导航4</span>
        <span class="card">导航5</span>
    </div>
</body>
</html>